package com.atguigu.yygh.order.client;

import com.atguigu.yygh.vo.order.OrderCountQueryVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

/**
 * ClassName: OrderInfoFeignClient
 * Package: com.atguigu.yygh.order.client
 * Description:
 *
 * @Author: cqk
 * @Create: 2023/10/8 - 14:49
 * @Version: v1.0
 */
@FeignClient("service-orders")
public interface OrderInfoFeignClient {
    @PostMapping("/api/order/orderInfo/statistic")
    public Map<String,Object> statistic(@RequestBody OrderCountQueryVo orderCountQueryVo);

}
